.nav .nav-menu .nav-menu-item:nth-child(1) a {
  color: #81bf24;
  background-color: #eeeeee;
}

/* ------------------轮播图---------------- */
.banner {
  position: relative;
  height: 540px;

  /* background: url(../image/index/banner/banner2.jpg) center; */
}
.banner .swiper-container {
  width: 1920px;
  height: 540px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 1200px;
  --swiper-pagination-color: #ffffff; /* 两种都可以 */
}
.banner .swiper-container .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}
.banner .swiper-container .swiper-button-prev {
  left: 50%;
  transform: translateX(-370px);
}
.banner .swiper-container .swiper-button-next {
  left: 50%;
  transform: translateX(284px);
}
.ad-category {
  position: absolute;
  left: 0;
  z-index: 1;
}
.ad-category-item {
  display: block;
  height: 90px;
  width: 224px;
  background-color: rgba(73, 162, 22, 0.68);
}
.ad-category-item:hover {
  background-color: rgba(255, 255, 255, 0.68);
}
.ad-hot {
  position: absolute;
  right: 0;
  z-index: 1;
}
.ad-hot-item {
  width: 283px;
  height: 180px;
}
.ad-hot-item img {
  width: 100%;
}
.ad-category-item {
  padding: 25px 0 0 55px;
}
.ad-category-item:hover p,
.ad-category-item:hover a {
  color: #81bf24;
}
.ad-category-item p {
  color: white;
  font-size: 18px;
}
.ad-category-item a {
  color: white;
  font-size: 14px;
}
.ad-category-item p .fa {
  margin-right: 5px;
}
.ad-hot-item {
  position: relative;
}
.ahi-content {
  position: absolute;
  left: 25px;
  top: 30px;
  color: #353535;
}

.ahi-content .ahic-title {
  font-size: 20px;

  margin-bottom: 4px;
}
.ahi-content .ahic-text {
  font-size: 14px;
}
.ahi-content a {
  font-size: 14px;
}

/* ---------------主要内容---------------- */
/* ------爱心助农------- */
div.axzn {
  margin-top: 65px;
}
.axzn h2,
.products h2,
.nyzx .container > h2 {
  color: #404040;
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  background: url(../image/public/leaf1.png) center no-repeat;
  margin-bottom: 25px;
}
.axzn p {
  text-align: center;
  font-size: 18px;
  color: #666666;
  letter-spacing: 2px;
  line-height: 1.5;
}
.axzn .ax-love {
  width: 1097px;
  height: 219px;
  background-color: #eeeeee;
  margin: 18px auto 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.axzn .ax-love img {
  width: 222px;
}
.axzn .ax-btn {
  width: 272px;
  height: 46px;
  background-color: #3a880e;
  border-radius: 23px;
  margin: 30px auto 0;
  letter-spacing: 3px;
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  line-height: 46px;
}
/* ------产品展示------- */
.products {
  margin-top: 58px;
}

.products .swiper-container {
  /* width: 1200px; */
  width: 1062px;
  padding: 30px 0;
  /* height: 400px; */
  /* outline: 1px solid red; */
}
.products .swiper-slide {
  /* width: 124px; */
  height: 160px;
  background-color: #fff;
  /* background-clip: content-box; */
  /* position: relative; */
  padding: 20px 0;
  transition: 0.3s;
  /* transform: scale(1); */
  /* padding: 10px */
}

.products .swiper-slide:hover {
  transform: scale(1.3);
  z-index: 2;
  box-shadow: 0px 0px 7px 0px rgba(87, 87, 87, 0.66);
  border: solid 1px #3a880e;
}
.products .swiper-slide img {
  width: 100%;
}
/* .products .swiper-button-prev{
  left: -50px;
} */

/* ---------------------详细商品---------------------------- */
.goods {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}
.goods-section {
  width: 588px;
  margin-bottom: 25px;
}
.gs-title {
  width: 100%;
  height: 49px;
  /* background-color: #ffffff; */
  background-color: #ffffff;
  border-radius: 10px 10px 0px 0px;
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.gs-title h3 {
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 3px;
  color: #ca7f72;
}
.gs-title h3 i.fa {
  margin-right: 5px;
}
.gs-title a {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 2px;
  color: #626262;
}
.gs-content {
  width: 100%;
  height: 380px;

  display: flex;
  justify-content: space-between;
}
.gsc-left {
  height: 100%;
  width: 197px;
  /* background-color: rgb(211, 240, 164); */
  background: url(../image/index/display/1.png);
  padding: 110px 0 0 22px;
}
.gsc-left h4 {
  font-size: 36px;
  font-weight: normal;
  letter-spacing: 4px;
  color: #ffffff;
  margin-bottom: 10px;
}
.gsc-left p {
  line-height: 1.3;
  font-size: 20px;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 18px;
}
.gsc-left a {
  display: block;
  width: 111px;
  height: 28px;
  background-color: #fbd4c688;
  border-radius: 14px;
  text-align: center;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 2px;
  color: #ffffff;
}
.gsc-right {
  height: 100%;
  width: 386px;
  /* background-color: rgb(250, 192, 192); */
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
}
.gscr-item {
  width: 189px;
  height: 186px;
  /* background-color: rgb(154, 240, 197); */
}
.gscr-item .img-box {
  height: 138px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}
.gscr-item .info {
  height: 48px;
  background-color: #bbbbbb2d;
  padding: 3px 5px;
}
.info-price .ip-new {
  color: #e40c61;
  font-size: 22px;
  margin-right: 8px;
}
.info-price .ip-new span {
  font-size: 12px;
}
.info-price .ip-origin {
  font-size: 12px;
  letter-spacing: 1px;
  color: #a09e9e;
  text-decoration: line-through;
}
.info-title {
  margin-top: 2px;
  font-size: 12px;
}
.info-title .it-text {
  float: left;
  color: #666666;
}
.info-title .it-tag {
  float: right;
  color: white;
  background-color: #3a880e;
  padding: 2px;
}
/* -------农业咨询---------- */
.nyzx {
  height: 445px;
  padding-top: 42px;
  background: url(../image/index/footer/footer.png) center/1920px auto;
}
.nyzx .container > h2 {
  color: white;
}
.news {
  margin-top: 65px;

  /* background-color: rgb(233, 216, 216); */
  display: flex;
  justify-content: space-between;
}
.news .news-item {
  width: 384px;
  height: 240px;
  background-color: #ffffff;
  border-radius: 10px 10px 0px 0px;
  position: relative;
  padding: 64px 23px 0;
}
.news-item .ni-icon {
  width: 80px;
  height: 80px;
  background-color: #3a880e;
  position: absolute;
  border-radius: 50%;
  top: -40px;
  /* left:152px ; */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 45px;
  text-align: center;
  line-height: 80px;
}
.ni-img {
  width: 152px;
  height: 152px;
  background-color: rgb(240, 211, 211);
  float: left;
  overflow: hidden;
}
.ni-img img {
  width: 100%;
}
.nic-text {
  width: 168px;
  height: 152px;
  float: right;
  /* background-color: rgb(238, 195, 195); */
}
.nic-text h3 {
  font-family: SimSun;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #404040;
  margin-bottom: 20px;
}
.nict-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /*显示行数*/
  overflow: hidden;
  color: #404040;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.nict-more {
  font-family: SimSun;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 1px;
  color: #969696;
}
